package p2shapesv1;

public class Rectangle extends Shape {
	protected float length;
	protected float width;
	
	public Rectangle(){
		length = width = 0;
		// legal or not? area = length * width;
	}

	public Rectangle(float l, float w){
		length = l;
		width  = w;
		// legal or not? area = length * width;
	}

	public void setLength(float l){
		length = l;
	}
	public void setWidth(float w){
		width = w;
	}
}
